-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
chore(launchpad): add app_name field to preprod artifact table #95383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This PR has a migration; here is the generated SQL for for --
-- Add field app_name to preprodartifact
--
ALTER TABLE "sentry_preprodartifact" ADD COLUMN "app_name" varchar(255) NULL; |
@@ -116,6 +116,9 @@ def as_choices(cls): | |||
# Installable file like IPA or APK | |||
installable_app_file_id = BoundedBigIntegerField(db_index=True, null=True) | |||
|
|||
# The name of the app, e.g. "My App" | |||
app_name = models.CharField(max_length=255, null=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we also need the app_id right?
f587973
to
a7b9dfd
Compare
This PR has a migration; here is the generated SQL for for --
-- Add field app_id to preprodartifact
--
ALTER TABLE "sentry_preprodartifact" ADD COLUMN "app_id" varchar(255) NULL;
--
-- Add field app_name to preprodartifact
--
ALTER TABLE "sentry_preprodartifact" ADD COLUMN "app_name" varchar(255) NULL; |
a7b9dfd
to
8bceb7d
Compare
https://github.com/getsentry/launchpad/blob/main/src/launchpad/size/models/common.py#L19
allows us to store the name of the app from the information we extract